﻿@model ShareIt_MVC3.Models.Lending

@{
    ViewBag.Title = "Buch ausleihen";
}

<h2>Buch ausleihen</h2>
<p>Wollen Sie das Buch "@Model.Resource.Title" wirklich ausleihen?</p>
<fieldset>
    <legend>Lending</legend>

    <div class="display-label">Titel: @Model.Resource.Title</div>
    <div class="display-field"></div>

    <div class="display-label">Autor: @Model.Resource.Author</div>
    <div class="display-field"></div>

</fieldset>
<br>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Ausleihen" /> |

        @Html.ActionLink("Back to List", "Index")
    </p>
}